<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--360浏览器优先以webkit内核解析-->
    <title>AUTOHTTPS</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="../static/css/style.min.css" th:href="@{/css/style.min.css}" rel="stylesheet"/>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row" th:if="${platFormInfo == null}">
        <h3>错误描述：[[${error}]]</h3>
    </div>
    <div class="row" th:if="${platFormInfo}">
        <div class="col-sm-3">
            <div class="ibox">
                <div class="ibox-content">
                    <h5 class="m-b-md">已使用</h5>
                    <h2 class="text-danger">
                        [[${platFormInfo.sumSingleDomainSpentNum}]]
                    </h2>
                    <small>已使用普通域名数量</small>
                </div>
            </div>
        </div>
        <div class="col-sm-3">
            <div class="ibox">
                <div class="ibox-content ">
                    <h5 class="m-b-md">剩余</h5>
                    <h2 class="text-navy">
                        [[${platFormInfo.sumSingleDomainNum}]]
                    </h2>
                    <small>剩余普通域名数量</small>
                </div>
            </div>
        </div>
        <div class="col-sm-3">
            <div class="ibox">
                <div class="ibox-content">
                    <h5 class="m-b-md">已使用</h5>
                    <h2 class="text-danger">
                        [[${platFormInfo.sumUniversalDomainSpentNum}]]
                    </h2>
                    <small>已使用泛域名数量</small>
                </div>
            </div>
        </div>
        <div class="col-sm-3">
            <div class="ibox">
                <div class="ibox-content">
                    <h5 class="m-b-md">剩余</h5>
                    <h2 class="text-navy">
                        [[${platFormInfo.sumUniversalDomainNum}]]
                    </h2>
                    <small>剩余泛域名数量</small>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>联系信息</h5>
                </div>
                <div class="ibox-content">
                    <div class="alert alert-warning">
                        扫码加入autoHttps微信交流群
                    </div>
                    <p id="pay-qrcode">
                        <a href="javascript:;"><img th:src="@{/img/autoHttps.png}" width="80%" alt="扫码加入微信交流群"></a>
                    </p>
                </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>更新日志</h5>
                </div>
                <div class="ibox-content no-padding">
                    <div class="panel-body">
                        <div class="panel-group" id="version">
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h5 class="panel-title">
                                        <a data-toggle="collapse" data-parent="#version" href="#v121">v1.2.1</a><code class="pull-right">2025.01.03</code>
                                    </h5>
                                </div>
                                <div id="v121" class="panel-collapse collapse in">
                                    <div class="panel-body">
                                        <ol>
                                            <li>修复证书一直在验证中bug</li>
                                            <li>修复证书签发失败bug</li>
                                            <li>修复云产品三级域名通配无法匹配的bug</li>
                                            <li>修复云产品https证书不匹配的bug</li>
                                            <li>修复查询云产品域名信息的报错</li>
                                            <li>修复云产品https证书不匹配的bug</li>
                                            <li>修复重新申请bug</li>
                                        </ol>
                                    </div>
                                </div>
                            </div>
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h5 class="panel-title">
                                        <a data-toggle="collapse" data-parent="#version" href="#v120">v1.2.0</a><code class="pull-right">2024.12.31</code>
                                    </h5>
                                </div>
                                <div id="v120" class="panel-collapse collapse">
                                    <div class="panel-body">
                                        <ol>
                                            <li>修复邮箱通知不能使用的问题</li>
                                            <li>新增云产品自动续签部署【阿里云、七牛云、腾讯云】的产品【CDN、DCDN、EdgeOne、OSS】</li>
                                            <li>其他细节优化</li>
                                        </ol>
                                    </div>
                                </div>
                            </div>
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h5 class="panel-title">
                                        <a data-toggle="collapse" data-parent="#version" href="#v113">v1.1.3</a><code class="pull-right">2024.12.04</code>
                                    </h5>
                                </div>
                                <div id="v113" class="panel-collapse collapse">
                                    <div class="panel-body">
                                        <ol>
                                            <li>修复通配符根级域名不能使用证书的问题</li>
                                            <li>新增通知消息（企业微信机械人、邮箱）</li>
                                            <li>其他细节优化</li>
                                        </ol>
                                    </div>
                                </div>
                            </div>
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h5 class="panel-title">
                                        <a data-toggle="collapse" data-parent="#version" href="#v110">v1.1.0</a><code class="pull-right">2024.11.28</code>
                                    </h5>
                                </div>
                                <div id="v110" class="panel-collapse collapse">
                                    <div class="panel-body">
                                        <ol>
                                            <li>修复xx.com.cn等特殊根级域名无法申请证书问题</li>
                                            <li>修复安装autoHttps自动部署脚本出现报错问题</li>
                                            <li>新增autoHttps自动部署脚本自动升级（后续自动脚本无需额外升级）</li>
                                            <li>新增支持自定义DNS解析域名</li>
                                            <li>新增右下角系统版本显示；</li>
                                            <li>新增安装脚本支持远程数据库和非3306端口支持</li>
                                            <li>其他细节优化</li>
                                        </ol>
                                    </div>
                                </div>
                            </div>
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <h4 class="panel-title">
                                        <a data-toggle="collapse" data-parent="#version" href="#v100">v1.0.0</a><code class="pull-right">2024.11.25</code>
                                    </h4>
                                </div>
                                <div id="v100" class="panel-collapse collapse">
                                    <div class="panel-body">
                                        <ol>
                                            <li>AUTOHTTPS正式发布。</li>
                                        </ol>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>通知通告</h5>
                </div>
                <div class="ibox-content no-padding">
                    <div class="panel-body">
                        <div class="panel-group" id="notice">
                            <div class="panel panel-default" th:each="item : ${noticeList}">
                                <div class="panel-heading">
                                    <h5 class="panel-title">
                                        <a data-toggle="collapse" data-parent="#notice" th:href="'#notice'+${item.noticeId}" th:text="${item.noticeTitle}"></a><code class="pull-right" >[[${#dates.format(item.createTime, 'yyyy-MM-dd HH:mm:ss')}]]</code>
                                    </h5>
                                </div>
                                <div th:id="'notice'+${item.noticeId}" class="panel-collapse collapse in">
                                    <div class="panel-body">
                                        <div th:utext='${item.noticeContent}'>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div th:if="${noticeList} == null">
                                暂无公告
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script th:src="@{/js/jquery.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/ajax/libs/layer/layer.min.js}"></script>
<script type="text/javascript"></script>
</body>
</html>
